home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / std / c / 405 < prev    next >
Internet Message Format  |  1996-08-06  |  2KB

  1. Path: galaxy.ucr.edu!not-for-mail
  2. From: thp@cs.ucr.edu (Tom Payne)
  3. Newsgroups: comp.lang.c,comp.std.c
  4. Subject: Re: Integral conversion e.t.c. (was: Re: Hungarian notation)
  5. Followup-To: comp.lang.c,comp.std.c
  6. Date: 15 Feb 1996 18:07:05 GMT
  7. Organization: University of California, Riverside Department of Computer Science
  8. Message-ID: <4fvso9$16v@galaxy.ucr.edu>
  9. References: <30C40F77.53B5@swsbbs.com> <SPENCER.96Jan22113215@zorgon.ERA.COM> <KANZE.96Feb2133347@slsvewt.lts.sel.alcatel.de> <4fqfgg$m3u@atusks02.aut.alcatel.at> <4fte4h$b36@sun001.spd.dsccc.com>
  10. NNTP-Posting-Host: corvette.ucr.edu
  11.  
  12. Mike McCarty (jmccarty@spd.dsccc.com) wrote:
  13. : Let's not overlook malicious compiler writers. Rumor has it that a
  14. : certain compiler writer (who shall remain nameless, but who supposedly
  15. : has associations with something which might be called FSF) decided that
  16. : he did not like the fact that "#pragma" as described by ANSI was allowed
  17. : to do whatever the compiler writer liked. So he made all "#pragma"s jump
  18. : to a subroutine in the compiler to run the Towers of Hanoi puzzle, and
  19. : not output any code. Supposedly, later, that was removed.
  20.  
  21.  
  22. Specifically:
  23.  
  24.   The `#pragma' command is specified in the ANSI standard to have an
  25.   arbitrary implementation-defined effect.  In the GNU C preprocessor,
  26.   `#pragma' ifrst attempts to run the game `rogue'; if that fails, it
  27.   tries to run the game `hack'; if that fails, it tries to run GNU 
  28.   Emacs displaying the Tower of Hanoi; if that fails, it reports a 
  29.   fatal error.  In any case preprocessing does not continue.
  30.                -- Manual for the GNU C preprocessor for GNU CC 1.34:
  31.  
  32. Perhaps "malice" should be made of meaner stuff.
  33.  
  34. Tom Payne (thp@cs.ucr.edu)
  35.